﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Chitiet.aspx.cs" Inherits="Chitiet" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style14
        {
            width: 153px;
            color: #3333CC;
            font-size: large;
        }
        .style17
        {
            width: 195px;
            color: #3333CC;
            font-size: x-large;
        }
        .style18
        {
            width: 248px;
            height: 176px;
        }
        .style19
        {
            width: 195px;
            font-weight: bold;
            color: #3333CC;
            font-size: x-large;
        }
        .style22
        {
            width: 195px;
            font-weight: bold;
            color: #3333CC;
            font-size: x-large;
            height: 41px;
        }
        .style24
        {
            height: 41px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <p>
        <asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Italic="False" 
            Font-Size="XX-Large" ForeColor="Fuchsia" 
            Text="CHI TIẾT ĐIỂM ĐẶT ATM CỦA NGÂN HÀNG VIETCOMBANK"></asp:Label>
    </p>
    <p>
        <asp:DataList ID="DataList1" runat="server" BackColor="#DEBA84" 
            BorderColor="#DEBA84" BorderStyle="None" BorderWidth="3px" CellPadding="3" 
            CellSpacing="2" DataKeyField="MaATM" DataSourceID="SqlDataSource1" 
            GridLines="Both">
            <FooterStyle BackColor="#F7DFB5" ForeColor="#8C4510" />
            <HeaderStyle BackColor="#A55129" Font-Bold="True" ForeColor="White" />
            <ItemStyle BackColor="#FFF7E7" ForeColor="#8C4510" />
            <ItemTemplate>
                <table border="3px" class="style11" frame="border">
                    <tr>
                        <td class="style14" rowspan="3">
                            <img alt="" class="style18" 
                src="Image/hinh%20tram%20ATM.jpg" />
                        </td>
                        <td class="style17">
                            <strong>Tên máy ATM</strong></td>
                        <td>
                            <asp:Label ID="TenmayATMLabel" runat="server" CssClass="style10" 
                                Text='<%# Eval("TenmayATM") %>' />
                        </td>
                    </tr>
                    <tr>
                        <td class="style22">
                            Địa chỉ:
                        </td>
                        <td class="style24">
                            <asp:Label ID="DiachiLabel" runat="server" CssClass="style10" 
                                Text='<%# Eval("Diachi") %>' />
                        </td>
                    </tr>
                    <tr>
                        <td class="style19">
                            Thông tin:
                        </td>
                        <td>
                            <asp:Label ID="ThongTinLabel" runat="server" CssClass="style10" 
                                Text='<%# Eval("ThongTin") %>' />
                        </td>
                    </tr>
                </table>
                <br />
                <asp:Label ID="Label4" runat="server" Font-Italic="True" ForeColor="Red" 
                    Text="Cám ơn khách hàng đã sử sụng Dịch Vụ"></asp:Label>
                <br />
            </ItemTemplate>
            <SelectedItemStyle BackColor="#738A9C" Font-Bold="True" ForeColor="White" />
        </asp:DataList>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:VietComBankConnectionString %>" 
            SelectCommand="SELECT MaATM, MaKhuVuc, TenmayATM, Diachi, Latitude, Longtitude, ThongTin, IsActive FROM ThongTinATM WHERE (MaATM = @paMaATM)">
            <SelectParameters>
                <asp:QueryStringParameter Name="paMaATM" QueryStringField="MaATM" />
            </SelectParameters>
        </asp:SqlDataSource>
    </p>
</asp:Content>

